#ifndef CAFFEINE_GRAPHICS_TEXTURE_HPP
#define CAFFEINE_GRAPHICS_TEXTURE_HPP

#include "Utility/Resource.hpp"
#include "Math/Vector.hpp"

#include "SFML/Graphics/Image.hpp"

#include <string>

namespace Components
{
	class GraphicsComponent;
}

namespace Graphics
{
	class Texture : public Utility::Resource
	{
		friend class Components::GraphicsComponent;
	public:
		Texture( void );
		virtual ~Texture( void );

		virtual void Load( const std::string &path );

		Math::Vectorf GetSize( void ) const;
	private:
		sf::Image img;
	};
}

#endif //CAFFEINE_GRAPHICS_TEXTURE_HPP